package com.aaa.sso.feign;

import com.aaa.entity.Permission;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @program: aaa-education-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-03-06 11:05
 **/
@FeignClient(value = "education-system")
public interface PermissionFeign {
    @GetMapping("/system/permission/getByUserId/{userId}")
    public List<Permission> getByUserId(@PathVariable String userId);
}













